<extend name='Yg/index' />
<block name='main'>
    <div >
        <div class="row container-fluid">
            <div class="col-lg-12">
                    <h2 class="page-header">
                            个人信息
                    </h2>
                    <ol class="breadcrumb">
                        <li class="active">
                            <i class="fa fa-dashboard"></i> 您的位置 => 个人信息
                        </li>
                    </ol>
        </div>
        
    </div>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-4 column">
            <table class="table table-striped table-bordered table-hover">
                <tr>
                    <th>ID</th>
                    <td><{$list.id}></td>
                </tr>
                <tr>
                    <th>用户名</th>
                    <td><{$list.uname}></td>
                </tr>
                <tr>
                    <th>头像</th>
                    <td><img src="__PUBLIC__/Imagessm/<{$list.headpic}>" /></td>
                </tr>
                <tr>
                    <th>性别</th>
                    <td><if condition="$list.sex eq '男'">男
                            <elseif condition="$list.sex eq '女'" />女
                            <else />未知
                            </if>
                    </td>
                </tr>
                <tr>
                    <th>手机</th>
                    <td><{$list.phone}></td>
                </tr>
                <tr>
                    <th>地址</th>
                    <td><{$list.address}></td>
                </tr>
                <tr>
                    <th>邮件</th>
                    <td><{$list.email}></td>
                </tr>
                <tr>
                    <th>生日</th>
                    <td><{$list.birthday}></td>
                </tr>
                <tr>
                    <th>上次登录时间</th>
                    <td><{$list.lastlogin}></td>
                </tr>

            </table>
            <a href="<{:U('Gr/edit',array('id'=>$list['id']))}>"><button>修改个人信息</button></a><a href="<{:U('Gr/tx',array('id'=>$list['id']))}>"><button>修改个人头像</button></a><a href="<{:U('Gr/mima',array('id'=>$list['id']))}>"><button>修改个人密码</button></a>
        </div>

</div>
</block>